//
//  FlipsideViewController.h
//  CommuteWarriorUtility
//
//  Created by Rohit Mathews on 5/6/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol FlipsideViewControllerDelegate;


@interface FlipsideViewController : UIViewController {
	id <FlipsideViewControllerDelegate> delegate;
	IBOutlet UISwitch *operateOnBattery;
	IBOutlet UISlider *minimumBatteryLevel;
	IBOutlet UILabel *batteryLevelLabel;
}

@property (nonatomic, retain) UISwitch *operateOnBattery;
@property (nonatomic, retain) UISlider *minimumBatteryLevel;
@property (nonatomic, retain) UILabel *batteryLevelLabel;

@property (nonatomic, assign) id <FlipsideViewControllerDelegate> delegate;
- (IBAction)done:(id)sender;
- (IBAction)updateBatteryLevelLabel:(id)sender;
@end


@protocol FlipsideViewControllerDelegate
- (void)flipsideViewControllerDidFinish:(FlipsideViewController *)controller;
@end

